package com.xin.auto.lib.base.adloopvideoplayer.utils;

import android.text.TextUtils;

public class ConstantUtil {

    public static float strToFloat(String value) {
        if (TextUtils.isEmpty(value)) {
            return 0.0f;
        }
        return Float.valueOf(value);
    }
}
